package kr.or.kead.daegu.global.DTO;

import java.util.Date;

public class SaleHist {
	String empcode;
	String bcode;
	String pcode;
	int salecnt;	//판매수량
	int salecost;	//판매단가
	Date saledate;
	
	/* 거래일자, 제품코드, 제품명, 판매수량, 
	 * 판매금액[판매단가 * 판매수량], 
	 * 할인금액[(판매정가 * 판매수량) - 판매금액], 
	 * 마진액[판매금액 -(판매원가 * 판매수량)], 
	 * 마진율[마진액/판매금액*100]*/
	
	public SaleHist(String empcode, String bcode, String pcode, int salecnt,
			int salecost, Date saledate) {
		this.empcode = empcode;
		this.bcode = bcode;
		this.pcode = pcode;
		this.salecnt = salecnt;
		this.salecost = salecost;
		this.saledate = saledate;
	}

	public String getEmpcode() {
		return empcode;
	}

	public String getBcode() {
		return bcode;
	}

	public String getPcode() {
		return pcode;
	}

	public int getSalecnt() {
		return salecnt;
	}

	public int getSalecost() {
		return salecost;
	}

	public Date getSaledate() {
		return saledate;
	}
	
	
}
